<?php
namespace app\app\model;

use think\Model;

class User extends Model
{

    /**
     * 手机号码重复判断
     * @param $mobile
     * @return bool
     */
    public function verifyMoble($mobile){
        if ($this->get(['mobile'=>$mobile])){
            return false;
        }else{
            return true;
        }
    }
}